extends RigidBody2D


func _on_RigidBody2D_body_entered(body: Node) -> void:
	$AnimationPlayer.play("dead")
	yield($AnimationPlayer, "animation_finished")
	queue_free()
